package main

import "fmt"

type Stu struct {
}

func (s *Stu) ShowA() {
	fmt.Println("stu show A")
	fmt.Printf("%#v\n", s)
	s.ShowB()
}
func (s *Stu) ShowB() {
	fmt.Println("stu showB")
}

type Teach struct {
	Stu
}

func (t *Teach) ShowB() {
	fmt.Println("teacher show b")
}
func main() {
	//t := &Teach{}
	//t.ShowA()
	sli := make([]int, 5)
	fmt.Println(sli)
	sli = append(sli, 1, 2, 3)
	fmt.Println(sli)
}
